package com.fantasy.rundomain;

import java.io.IOException;

import org.apache.http.client.ClientProtocolException;

import com.fantasy.httpclient.HttpClientUtil;

public class GetXinDomain {

	private static String url = "https://whois.aliyun.com/whois/whoisInfo?";
	private static String param = "&umToken=whois-web-hichina-com21966438&callback=jQuery183009630556344676977_1481376498303&_=1481376498380";
	private static String domain = "name=bbbk.xin";
	
	public static void main(String[] args) {
		HttpClientUtil.newHttpGet(url + domain + param);
		
		try {
			System.out.println(HttpClientUtil.executeGet());
		} catch (ClientProtocolException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		
	}
	
}
